package com.jmb.api.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 
 * @TableName permission_role
 */
@TableName(value ="permission_role")
@Data
public class  PermissionRole {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 权限ID
     */
    @TableField(value = "permission_id")
    private Integer permissionId;

    /**
     * 权限编号
     */
    @TableField(value = "role_id")
    private Integer roleId;
    @Schema(description = "更新时间")
    private Date updateTime;
}